import request from '@/utils/request'

// 查询SignInRecord列表
export function listSignInRecord(query) {
    return request({
        url: '/training/signInRecord/list',
        method: 'get',
        params: query
    })
}

// 查询SignInRecord详细
export function getSignInRecord(id) {
    return request({
        url: '/training/signInRecord/' + id,
        method: 'get'
    })
}

// 新增SignInRecord
export function addSignInRecord(data) {
    return request({
        url: '/training/signInRecord',
        method: 'post',
        data: data
    })
}

// 修改SignInRecord
export function updateSignInRecord(data) {
    return request({
        url: '/training/signInRecord',
        method: 'put',
        data: data
    })
}

// 删除SignInRecord
export function delSignInRecord(id) {
    return request({
        url: '/training/signInRecord/' + id,
        method: 'delete'
    })
}

// 导出SignInRecord
export function exportSignInRecord(query) {
    return request({
        url: '/training/signInRecord/export',
        method: 'get',
        params: query
    })
}